package com.charging.system.service;

import java.util.List;
import com.charging.system.domain.KxChargingScheme;

/**
 * 充电规则Service接口
 * 
 * @author charging
 * @date 2024-04-19
 */
public interface IKxChargingSchemeService 
{
    /**
     * 查询充电规则
     * 
     * @param chargingSchemeId 充电规则主键
     * @return 充电规则
     */
    public KxChargingScheme selectKxChargingSchemeByChargingSchemeId(Long chargingSchemeId);

    /**
     * 查询充电规则列表
     * 
     * @param kxChargingScheme 充电规则
     * @return 充电规则集合
     */
    public List<KxChargingScheme> selectKxChargingSchemeList(KxChargingScheme kxChargingScheme);

    /**
     * 新增充电规则
     * 
     * @param kxChargingScheme 充电规则
     * @return 结果
     */
    public int insertKxChargingScheme(KxChargingScheme kxChargingScheme);

    /**
     * 修改充电规则
     * 
     * @param kxChargingScheme 充电规则
     * @return 结果
     */
    public int updateKxChargingScheme(KxChargingScheme kxChargingScheme);

    /**
     * 批量删除充电规则
     * 
     * @param chargingSchemeIds 需要删除的充电规则主键集合
     * @return 结果
     */
    public int deleteKxChargingSchemeByChargingSchemeIds(Long[] chargingSchemeIds);

    /**
     * 删除充电规则信息
     * 
     * @param chargingSchemeId 充电规则主键
     * @return 结果
     */
    public int deleteKxChargingSchemeByChargingSchemeId(Long chargingSchemeId);
}
